@import './variable.scss';
@import '~hotcss/src/px2rem.scss'; // 苹果平方字体
// 苹方-简 极细体
@mixin font-ultralight {
  font-family: PingFangSC-Ultralight, sans-serif;
  font-weight: 100;
}
// 苹方-简 纤细体
@mixin font-thin {
  font-family: PingFangSC-Thin, sans-serif;
  font-weight: 200;
}
// 苹方-简 细体
@mixin font-light {
  font-family: PingFangSC-Light, sans-serif;
  font-weight: 300;
}
// 苹方-简 常规体
@mixin font-regular {
  font-family: PingFangSC-Regular, sans-serif;
  font-weight: 400;
}
// 苹方-简 中黑体
@mixin font-medium {
  font-family: PingFangSC-Medium, sans-serif;
  font-weight: 500;
}
// 苹方-简 中粗体
@mixin font-semibold {
  font-family: PingFangSC-Semibold, sans-serif;
  font-weight: 600;
}
// 很粗(对比一下，没用过)
@mixin font-bold {
  font-weight: 700;
}
@mixin ellipsis($num:2) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: $num;
  overflow: hidden;
}
